<{if count($categories) gt 0}>

	
	<div class="post">
		<h1 class="title"><a href="<{$xoops_url}>/modules/mylinks/index.php">Links</a></h1>
		<div class="entry">
			<p>
				<img src="<{$xoops_url}>/modules/mylinks/images/logo.jpg" alt="" width="200" height="135" class="left" />
					<!-- Start category loop -->
					<{foreach item=category from=$categories}>	
						<{if $category.image != ""}><a href="<{$xoops_url}>/modules/mylinks/viewcat.php?cid=<{$category.id}>"><img src="<{$category.image}>" height="50" border="0" alt="" /></a><{/if}>		
						<div>
							<img src="<{$xoops_url}>/modules/mylinks/images/aplog_bullet_title.gif" style="position:relative; top: 5px;"/>
							<a href="<{$xoops_url}>/modules/mylinks/viewcat.php?cid=<{$category.id}>"><b><{$category.title}></b></a>&nbsp;(<{$category.totallink}>)
						</div>
						<{if $category.subcategories != ''}>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="<{$xoops_url}>/modules/mylinks/images/arrow.gif" />&nbsp;<{$category.subcategories}>
						<{/if}>
					<{/foreach}>
					<!-- End category loop -->
				</p>
				<p>&nbsp;</p>
		</div>
		<div class="meta">
			<p class="byline"><{$lang_thereare}></p>
		</div>
	</div>	
<{/if}>		
		
		
		
<{if $links != ""}>
	<div class="post">
		<h2 class="title"><{$lang_latestlistings}></h2>
		<div class="entry">
		  <!-- Start new link loop -->
		  <{section name=i loop=$links}>
			<p><{include file="db:mylinks_link.html" link=$links[i]}></p>
		  <{/section}>
		  <!-- End new link loop -->
		</div>
		<div class="meta">
			<p class="byline">Posted on July 18, 2007 byFreeCssTemplates</p>
			<p class="links"><a href="#" class="more">Read full article</a> <b>|</b> <a href="#" class="comments">Comments (32)</a></p>
		</div>
	</div>
<{/if}>
		

<{include file='db:system_notification_select.html'}>